﻿package com.sgcc.nfc.lock.domain.model

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

enum class RoomStatus {
    NORMAL,
    IN_USE,
    ALERT,
    UNKNOWN
}

@Parcelize
data class Room(
    val roomId: Long,
    val roomName: String,
    val regionId: Long?,
    val regionName: String?,
    val address: String?,
    val longitude: Double?,
    val latitude: Double?,
    val status: RoomStatus,
    val lockCount: Int,
    val openLockCount: Int,
    val malfunctionLockCount: Int,
    val locks: List<Lock> = emptyList()
) : Parcelable
